import 'dart:async';

import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:sonora/bloc/base/sj_base_bloc.dart';
import 'package:sonora/bloc/followList/sj_follow_list_event.dart';
import 'package:sonora/bloc/followList/sj_follow_list_state.dart';

class SjFollowListBloc extends SjBaseBloc<SjFollowListEvent, SjFollowListState> {
  SjFollowListBloc() : super(const SjFollowListState()) {
    on<SjFollowListEventInitial>(_onInitial);
    on<SjFollowListEventLoaded>(_onLoadedData);
  }

  FutureOr<void> _onInitial(
      SjFollowListEventInitial event, Emitter<SjFollowListState> emit) async {
    emit(state.copyWith(loading: true));
  }

  FutureOr<void> _onLoadedData(
      SjFollowListEventLoaded event, Emitter<SjFollowListState> emit) async {
      }
}
